import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
import Find from './views/Find.vue'
import My from './views/My.vue'
import Part from './views/Part.vue'
import Order from './views/Order.vue'


import VueRouter from 'vue-router'
// import { component } from 'vue/types/umd'
Vue.use(VueRouter)

let routes = [

  {
    path: '/find',
    component: Find
  }, {
    path: '/my',
    component: My
  }, {
    path: '/part',
    component: Part
  },
  {
    path: '/order',
    component: Order
  },
]
let router = new VueRouter({
  routes
})
new Vue({
  render: h => h(App),
  router
}).$mount('#app')
